package geektime.spring.springbucks.service;

import geektime.spring.springbucks.controller.request.CoffeeRequest;
import geektime.spring.springbucks.model.Coffee;

import java.util.List;

public interface CoffeeService {

    List<Coffee> findAllCoffeeByPage(int page, int size);

    List<Coffee> findCoffeeByListID(List<Long> idList);

    List<Coffee> getAllCoffee();

    Coffee findCoffeeByName(String name);

    Coffee findCoffeeById(String id);

    void addCoffee(String name, long price);

    void delCoffeeByName(String name);

    void updateCoffeeByID(String name, long price, long id);

    long getCount();
}
